package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysEquipment;

/**
 * 风场设备Mapper接口
 * 
 * @author ruoyi
 * @date 2023-12-01
 */
public interface SysEquipmentMapper 
{
    /**
     * 查询风场设备
     * 
     * @param id 风场设备主键
     * @return 风场设备
     */
    public SysEquipment selectSysEquipmentById(Long id);

    /**
     * 查询风场设备列表
     * 
     * @param sysEquipment 风场设备
     * @return 风场设备集合
     */
    public List<SysEquipment> selectSysEquipmentList(SysEquipment sysEquipment);

    /**
     * 新增风场设备
     * 
     * @param sysEquipment 风场设备
     * @return 结果
     */
    public int insertSysEquipment(SysEquipment sysEquipment);

    /**
     * 修改风场设备
     * 
     * @param sysEquipment 风场设备
     * @return 结果
     */
    public int updateSysEquipment(SysEquipment sysEquipment);

    /**
     * 删除风场设备
     * 
     * @param id 风场设备主键
     * @return 结果
     */
    public int deleteSysEquipmentById(Long id);

    /**
     * 批量删除风场设备
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysEquipmentByIds(Long[] ids);
}
